<?php

namespace App\Models\Collection;

class BrandModel extends BaseCollectionModel
{
    protected $table = 'brand';

    /**
     * 全部列表
     *
     * @return void
     */
    public function listAll()
    {
        return $this->select(['id', 'title'])
            ->where('deleted', self::DELETED_NO)
            ->get()
            ->toArray();
    }
}
